package com.itheima.health.service;

public interface SmsService {
    /**
     * @Author: JASON
     * @Date: 14:55 2021/1/10
     * @Parms [type, telephone]
     * @ReturnType: void
     * @Description: 发送短信验证码
    */
    void sendValidateCode(String type, String telephone);

    /**
     * @Author: JASON
     * @Date: 15:34 2021/1/10
     * @Parms [type, telephone, code]
     * @ReturnType: boolean
     * @Description: 校验验证码
    */
    boolean checkValidateCode(String type, String telephone, String code);
}
